package net.tp.struct.adt;

public interface Queue<E> {

    public int size();

    default public boolean isEmpty() { return size() == 0; }

    public E peek();

    public void enqueue(E element);

    public E dequeue();

}
